package com.ms3ds.deviceData.api;

import com.ms3ds.common.core.constant.ServiceNameConstants;
import com.ms3ds.common.core.domain.R;
import com.ms3ds.deviceData.api.factory.RemoteSensorDataFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 矿山信息服务
 * 
 * @author zlw
 */
@FeignClient(contextId = "remoteMovingDataService", value = ServiceNameConstants.DEVICE_DATA_SERVICE, fallbackFactory = RemoteSensorDataFallbackFactory.class)
public interface RemoteMovingDataService
{

    @PostMapping("/movingData/generateMovingData")   // 也可 @GetMapping
    R<Boolean> generateMovingData();
}
